<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
	<%@ include file="scriptinclude.jspf" %>
	
	<script type="text/javascript">
		//打开登录对话框
		function Open_Dialog(){ 
			$("#logiondialog").show();
			$("#logiondialog").dialog({ 
				collapsible: true, 
				minimizable: true, 
				maximizable: true
			}); 
		}
	</script>
	
	<script language="javascript" type="text/javascript"> 
		$(document).ready(function(){
			//脚本控制登录提交
			$("#logion").click(function(){
				$("form:first").submit();
			});
	});
	</script> 
  </head>
  
  <body>
	  <br>
	  <br>
	  <br>
	  <br>
	  <br>
	  <br>
	  <br>
	  <br>
    <span onclick="Open_Dialog()">登录</span> 
	<div id="logiondialog" style="display:none;padding:5px;width:400px;height:200px;" title="登录窗口">
		<form action="<%=path %>/loginAction!login.action"> 
			<label class="lbInfo">用户名：</label> 
			<input id="userName" name="userName" type="text" class="easyui-validatebox"/><br /> 
			<label class="lbInfo">密　码：</label>
			<input id="passWord" name="passWord" type="password" class="easyui-validatebox"/><br />
			<a type="button" id="logion" class="easyui-linkbutton">登录</a>
			<a type="button" id="reset" class="easyui-linkbutton">重置</a>
		</form> 
	</div>
  </body>
</html>
